package com.lanproperiesinternal.enums;

/**
 * @author kezhihui
 * @date 2022/05/19
 */
public enum LanguageEnum {
    //支持语种
//    AUTO("自动检测","auto"),
    CHINA_COMMON("中文","zh"),
    CHINA_TRADITIONAL("繁体","cht"),
    ENGLISH("英语","en"),
    JAPAN("日语","jp"),
    KOREAN("韩语","kor"),
    THAI("泰语","th"),
    FRANCE("法语","fra"),
    PORTUGUESE("葡萄牙","pt"),
    SPANISH("西班牙","spa"),
    ARABIC("阿拉伯","ara"),
    RUSSIAN("俄语","ru"),
    GERMAN("德语","de"),
    VIETNAMESE("越南语","vie"),
    SWEDISH("瑞典语","swe"),
    ITALIAN("意大利语","it"),
    NETHERLANDS("荷兰语","nl"),
    POLISH("波兰语","pl"),
    GREEK("希腊语","el"),
    BULGARIA("保加利亚","bul"),
    FINLAND("芬兰","fin"),
    SLOVENIA("斯洛文尼亚","slo"),
    ESTONIAN("爱沙尼亚语","est"),
    DANISH("丹麦语","dan"),
    CZECH("捷克语","cs"),
    ROMANIAN("罗马尼亚语","rom"),
    HUNGARIAN("匈牙利语","hu"),
    CHINA_CANTONESE("粤语","yue"),
    CHINA_CLASSICAL_CHINESE("文言文","wyw");

    /** 名称 **/
    public String name;
    /** 代码 **/
    public String code;

    LanguageEnum(String name, String code) {
        this.name = name;
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public String getCode() {
        return code;
    }
}
